Police enforcing railroad crossing law