`policies_table` doesn't seem to be used anymore in this function