Matt Dillon will star opposite Sandra Bullock in the Castle Rock Entertainment comedy “Miss Congeniality.”He will portray Eric, Bullock’s partner and fellow FBI agent, who works with her as she goes undercover to infiltrate a beauty pageant. Katie Ford, Marc Lawrence and Caryn Lucas wrote the script. Also cast in the Donald Petrie-directed comedy are Michael Caine as a pageant consultant. Pic is produced by Bullock’s Fortis Films, with Lawrence serving as exec producer. Warner Bros. will distribute the film worldwide. Dillon stars in the upcoming “One Night At McCool’s” opposite Liv Tyler and Michael Douglas. His recent credits include “There’s Something About Mary” and “Wild Things.” Dillon is repped by ICM and AMG.