The village of Key Biscayne was within its rights in rejecting a developer’s proposed site plan, the Third District Court of Appeal ruled Wednesday.

The court upheld Miami-Dade Circuit Judge Jerald Bagley’s decision last August to dismiss Key Biscayne Gateway Partners Ltd.’s lawsuit against the island community’s government.